// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** Logs out current logged in user session GET /user/logout */
export async function logoutUser(options?: { [key: string]: any }) {
  localStorage.clear();  // 清空所有本地存储
  sessionStorage.clear(); // 清空会话存储
  return Promise.resolve();  // 返回一个已解决的Promise
}
